import express from 'express'
import {
  getGiftRanking,
  getPopularityRanking,
  getRankingHistory,
} from '../controllers/ranking.controller'

const router = express.Router()

router.get('/gift/:roomId', getGiftRanking)
router.get('/popularity', getPopularityRanking)
router.get('/history/:type/:period', getRankingHistory)
router.get('/history/:type/:period/:roomId', getRankingHistory)

export default router
